import request from "../utils/request";



// 获取接种列表
export interface IParams{
    userid:any
}
export const getUseList = (params?:IParams) => request.get("/vaccinemes", {params});

// 获取打卡信息
export const getdkList = (params?:IParams) => request.get("/healthdata", {params});



// 添加打卡信息
export interface Iadd {
    userid: any
    time: string
    journey: string
    symptom: string
    temperature: string
}

export const getaddList = (data: any) => request.post("/healthdata", data);



//删除打卡信息
export const getdelList = (id: any) => request.delete("/healthdata/" + id);